from django.contrib import admin
from django.contrib.contenttypes import generic

from statusbayes.models import SpamStatus

class SpamStatusInline(generic.GenericTabularInline):
    model = SpamStatus
    extra = 0
    max_num = 1
    can_delete = True
    can_add = False


class SpamStatusAdmin(admin.ModelAdmin):
    #list_display = ('word', 'nspam', 'nham')
    pass
admin.site.register(SpamStatus, SpamStatusAdmin)
